package com.wto;

public class ParseHtmlFactory
{
	public ParseHtml createParseHtml(CollegeBean collegeBean,String type)
	{
		if(type.equals("teacher"))
		{
			return new ParseTeacherHtml(collegeBean);
		}
		if(type.equals("lesson"))
		{
			return new ParseLessonHtml(collegeBean);
		}
		if(type.equals("class"))
		{
			return new ParseLessonHtml(collegeBean);
		}
		return null;
	}
}
